package com.tstudy.laoshibang.mode.request;

public class ThirdLoginParams extends BaseParams {
	int source;
	String sourceId;
	int role;
	int mediaSource;
	String equipId;
	LoginUser user;
	String tsUserId;
	
	public void buildUser(String nick,int sex,String url){
		user = new LoginUser();
		user.setNick(nick);
		user.setSex(sex);
		user.setUrl(url);
	}
	
	static class LoginUser {
		String nick;
		int sex;
		String url;
		public String getNick() {
			return nick;
		}
		public void setNick(String nick) {
			this.nick = nick;
		}
		public int getSex() {
			return sex;
		}
		public void setSex(int sex) {
			this.sex = sex;
		}
		public String getUrl() {
			return url;
		}
		public void setUrl(String url) {
			this.url = url;
		}

	}
	
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public int getMediaSource() {
		return mediaSource;
	}
	public void setMediaSource(int mediaSource) {
		this.mediaSource = mediaSource;
	}
	public String getEquipId() {
		return equipId;
	}
	public void setEquipId(String equipId) {
		this.equipId = equipId;
	}
	public LoginUser getUser() {
		return user;
	}
	public void setUser(LoginUser user) {
		this.user = user;
	}
	public int getSource() {
		return source;
	}
	public void setSource(int source) {
		this.source = source;
	}
	public String getSourceId() {
		return sourceId;
	}
	public void setSourceId(String sourceId) {
		this.sourceId = sourceId;
	}
	public String getTsUserId() {
		return tsUserId;
	}
	public void setTsUserId(String tsUserId) {
		this.tsUserId = tsUserId;
	}
	
	
}
